.class Lcom/xingbook/audio/d/h;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/audio/d/g;


# direct methods
.method constructor <init>(Lcom/xingbook/audio/d/g;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v1}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/d/g;)Lcom/xingbook/park/ui/o;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v0}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/d/g;)Lcom/xingbook/park/ui/o;

    move-result-object v0

    invoke-interface {v0}, Lcom/xingbook/park/ui/o;->h()Z

    move-result v0

    :cond_0
    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v0}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/d/g;)Lcom/xingbook/park/ui/o;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v0}, Lcom/xingbook/audio/d/g;->b(Lcom/xingbook/audio/d/g;)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v1}, Lcom/xingbook/audio/d/g;->a(Lcom/xingbook/audio/d/g;)Lcom/xingbook/park/ui/o;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v2}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2}, Lcom/xingbook/park/ui/o;->a(Ljava/lang/String;)Z

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setSelected(Z)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v0}, Lcom/xingbook/audio/d/g;->d(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/d/l;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/d/h;->a:Lcom/xingbook/audio/d/g;

    invoke-static {v1}, Lcom/xingbook/audio/d/g;->c(Lcom/xingbook/audio/d/g;)Lcom/xingbook/audio/b/b;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/xingbook/audio/d/l;->a(Lcom/xingbook/audio/b/b;)V

    goto :goto_0
.end method
